package com.cscj.android.repository.repo.config

import com.cscj.android.repository.settings.Settings
import kotlinx.coroutines.flow.Flow
import org.koin.core.component.KoinComponent
import org.koin.core.component.inject

class WebConfigRepositoryImpl : WebConfigRepository, KoinComponent {

    private val browserSetting by inject<Settings.BrowserSetting>()

    override fun getWebViewConfigFlow(): Flow<WebViewConfig> {
        return browserSetting.webViewConfigFlow()
    }
}